﻿package Message.Public
{
    import Framework.Serialize.*;
    import flash.utils.*;

    public class SLotteryClientRecord extends Object
    {
        public var lotteryType:int;
        public var lotteryGold:Dictionary;
        public var level:int;
        public var lotteryItems:Dictionary;
        public var recordDt:Date;

        public function SLotteryClientRecord()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.lotteryType);
            DictIntIntHelper.write(param1, this.lotteryGold);
            param1.writeInt(this.level);
            DictIntIntHelper.write(param1, this.lotteryItems);
            param1.writeDate(this.recordDt);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.lotteryType = param1.readInt();
            this.lotteryGold = DictIntIntHelper.read(param1);
            this.level = param1.readInt();
            this.lotteryItems = DictIntIntHelper.read(param1);
            this.recordDt = param1.readDate();
            return;
        }// end function

    }
}
